package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.entity.charge.ChargeOrderReviewDetail;

import java.util.List;

/**
 * @Description: 交易对账明细
 * @Author: jeecg-boot
 * @Date:   2020-11-15
 * @Version: V1.0
 */
public interface ChargeOrderReviewDetailMapper extends BaseMapper<ChargeOrderReviewDetail> {

	public boolean deleteByMainId(String mainId);
    
	public List<ChargeOrderReviewDetail> selectByMainId(String mainId);

    List<ChargeOrderReviewDetail> findPage(Page<ChargeOrderReviewDetail> page, @Param("chargeOrderReviewDetail") ChargeOrderReviewDetail chargeOrderReviewDetail);

	void batchSaveOrUpdate(@Param("list") List<ChargeOrderReviewDetail> details);
}
